package com.dw.etl.core.bean.model;

import java.io.Serializable;
import java.util.Date;

public class MdMedTbFd implements Serializable {

	private static final long serialVersionUID = 1L;

	private String idMedTb;

	private String na;

	private String cd;

	private String idUseCre;

	private String naUseCre;

	private Date dtCre;

	private Date dtModi;

	private String des;

	private String pk;

	private String pkPubfd;

	private String euTp;

	private Byte fgDim;

	private Byte fgAct;

	private Integer numLth;

	private Integer numPrec;

	public String getPk() {
	    return pk;
	}

	public void setPk(String pk) {
	    this.pk = pk;
	}

	public String getIdMedTb() {
	    return idMedTb;
	}

	public void setIdMedTb(String idMedTb) {
	    this.idMedTb = idMedTb;
	}

	public String getPkPubfd() {
	    return pkPubfd;
	}

	public void setPkPubfd(String pkPubfd) {
	    this.pkPubfd = pkPubfd;
	}

	public String getNa() {
	    return na;
	}

	public void setNa(String na) {
	    this.na = na;
	}

	public String getCd() {
	    return cd;
	}

	public void setCd(String cd) {
	    this.cd = cd;
	}

	public Integer getNumLth() {
	    return numLth;
	}

	public void setNumLth(Integer numLth) {
	    this.numLth = numLth;
	}

	public Integer getNumPrec() {
	    return numPrec;
	}

	public void setNumPrec(Integer numPrec) {
	    this.numPrec = numPrec;
	}

	public String getEuTp() {
	    return euTp;
	}

	public void setEuTp(String euTp) {
	    this.euTp = euTp;
	}

	public Byte getFgAct() {
	    return fgAct;
	}

	public void setFgAct(Byte fgAct) {
	    this.fgAct = fgAct;
	}

	public String getIdUseCre() {
	    return idUseCre;
	}

	public void setIdUseCre(String idUseCre) {
	    this.idUseCre = idUseCre;
	}

	public String getNaUseCre() {
	    return naUseCre;
	}

	public void setNaUseCre(String naUseCre) {
	    this.naUseCre = naUseCre;
	}

	public Date getDtCre() {
	    return dtCre;
	}

	public void setDtCre(Date dtCre) {
	    this.dtCre = dtCre;
	}

	public Date getDtModi() {
	    return dtModi;
	}

	public void setDtModi(Date dtModi) {
	    this.dtModi = dtModi;
	}

	public String getDes() {
	    return des;
	}

	public void setDes(String des) {
	    this.des = des;
	}

	@Override
	public boolean equals(Object that) {
	    if (this == that) {
	        return true;
	    }
	    if (that == null) {
	        return false;
	    }
	    if (getClass() != that.getClass()) {
	        return false;
	    }
	    MdMedTbFd other = (MdMedTbFd) that;
	    return (this.getPk() == null ? other.getPk() == null : this.getPk().equals(other.getPk())) && (this.getIdMedTb() == null ? other.getIdMedTb() == null : this.getIdMedTb().equals(other.getIdMedTb())) && (this.getPkPubfd() == null ? other.getPkPubfd() == null : this.getPkPubfd().equals(other.getPkPubfd())) && (this.getNa() == null ? other.getNa() == null : this.getNa().equals(other.getNa())) && (this.getCd() == null ? other.getCd() == null : this.getCd().equals(other.getCd())) && (this.getNumLth() == null ? other.getNumLth() == null : this.getNumLth().equals(other.getNumLth())) && (this.getNumPrec() == null ? other.getNumPrec() == null : this.getNumPrec().equals(other.getNumPrec())) && (this.getEuTp() == null ? other.getEuTp() == null : this.getEuTp().equals(other.getEuTp())) && (this.getFgAct() == null ? other.getFgAct() == null : this.getFgAct().equals(other.getFgAct())) && (this.getIdUseCre() == null ? other.getIdUseCre() == null : this.getIdUseCre().equals(other.getIdUseCre())) && (this.getNaUseCre() == null ? other.getNaUseCre() == null : this.getNaUseCre().equals(other.getNaUseCre())) && (this.getDtCre() == null ? other.getDtCre() == null : this.getDtCre().equals(other.getDtCre())) && (this.getDtModi() == null ? other.getDtModi() == null : this.getDtModi().equals(other.getDtModi())) && (this.getDes() == null ? other.getDes() == null : this.getDes().equals(other.getDes()));
	}

	@Override
	public int hashCode() {
	    final int prime = 31;
	    int result = 1;
	    result = prime * result + ((getPk() == null) ? 0 : getPk().hashCode());
	    result = prime * result + ((getIdMedTb() == null) ? 0 : getIdMedTb().hashCode());
	    result = prime * result + ((getPkPubfd() == null) ? 0 : getPkPubfd().hashCode());
	    result = prime * result + ((getNa() == null) ? 0 : getNa().hashCode());
	    result = prime * result + ((getCd() == null) ? 0 : getCd().hashCode());
	    result = prime * result + ((getNumLth() == null) ? 0 : getNumLth().hashCode());
	    result = prime * result + ((getNumPrec() == null) ? 0 : getNumPrec().hashCode());
	    result = prime * result + ((getEuTp() == null) ? 0 : getEuTp().hashCode());
	    result = prime * result + ((getFgAct() == null) ? 0 : getFgAct().hashCode());
	    result = prime * result + ((getIdUseCre() == null) ? 0 : getIdUseCre().hashCode());
	    result = prime * result + ((getNaUseCre() == null) ? 0 : getNaUseCre().hashCode());
	    result = prime * result + ((getDtCre() == null) ? 0 : getDtCre().hashCode());
	    result = prime * result + ((getDtModi() == null) ? 0 : getDtModi().hashCode());
	    result = prime * result + ((getDes() == null) ? 0 : getDes().hashCode());
	    return result;
	}

	@Override
	public String toString() {
	    StringBuilder sb = new StringBuilder();
	    sb.append(getClass().getSimpleName());
	    sb.append(" [");
	    sb.append("Hash = ").append(hashCode());
	    sb.append(", serialVersionUID=").append(serialVersionUID);
	    sb.append(", pk=").append(pk);
	    sb.append(", idMedTb=").append(idMedTb);
	    sb.append(", pkPubfd=").append(pkPubfd);
	    sb.append(", na=").append(na);
	    sb.append(", cd=").append(cd);
	    sb.append(", numLth=").append(numLth);
	    sb.append(", numPrec=").append(numPrec);
	    sb.append(", euTp=").append(euTp);
	    sb.append(", fgAct=").append(fgAct);
	    sb.append(", idUseCre=").append(idUseCre);
	    sb.append(", naUseCre=").append(naUseCre);
	    sb.append(", dtCre=").append(dtCre);
	    sb.append(", dtModi=").append(dtModi);
	    sb.append(", des=").append(des);
	    sb.append("]");
	    return sb.toString();
	}

	public Byte getFgDim() {
		return fgDim;
	}

	public void setFgDim(Byte fgDim) {
		this.fgDim = fgDim;
	}
}